package com.rpc.test;

import com.rpc.server.RpcServer;
import com.rpc.service.HelloService;
import com.rpc.service.serviceImpl.HelloServiceImpl;

public class testServer {
    public static void main(String[] args) {
        HelloService helloService = new HelloServiceImpl();
        RpcServer rpcServer = new RpcServer();

        rpcServer.register(helloService,8080);

    }
}
